package tmt.usercenter.web.vo;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Vector;

@Getter
@Setter
public class ScopeVo implements Serializable {

	/** scope 字符串 */
	private String title;
	/** id */
	private Object value;
	private String description;
	private boolean selected = false;
	private Integer sort;
	/** 默认选中，如果默认选中了，则直接选中，且不能取消 */
	private boolean defaultSelected = false;

	private Vector<ResourceVo> resourceInfo = new Vector<>();

	public ScopeVo(String title, Object value, String description, Integer order, boolean defaultSelected) {
		this.value = value;
		this.title = title;
		this.description = description;
		this.sort = order;
		this.defaultSelected = defaultSelected;
	}

}
